/*
 * @Author: your name
 * @Date: 2021-05-17 10:30:47
 * @LastEditTime: 2021-05-25 15:44:05
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: /vite-project/src/router/routes/modules/dashboard.ts
 */
import type { AppRouteModule } from '@/router/types';

const dashboard: AppRouteModule = {
  path: '/dashboard',
  name: 'Dashboard',
  component: () => import('@/layouts/default/index.vue'),
  redirect: '/dashboard/analysis',
  meta: {
    icon: 'ion:grid-outline',
    title: "控制板",
  },
  children: [
    {
      path: 'analysis',
      name: 'Analysis',
      component: () => import('@/views/dashboard/analysis/index.vue'),
      meta: {
        affix: true,
        title: "分析页",
      },
    }
  ],
};

export default dashboard;